package com.aos.erp.gov.ex.model;

import com.aos.erp.gov.ex.enums.RegisterTaskStatus;
import com.aos.erp.gov.ex.enums.RegisterTaskType;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;


@Getter
@Setter
@TableName("T_GOV_EX_REGISTER_TASK")
public class GovExRegisterTask implements Serializable {
    private static final long serialVersionUID = 1L;


    @TableId(value = "id", type = IdType.INPUT)
    private long id;


    @ApiModelProperty("")
    @TableField("student_id")
    private long studentId;


    @ApiModelProperty("")
    @TableField("student_name")
    private String studentName;


    @ApiModelProperty("")
    @TableField("student_idnum")
    private String studentIdnum;


    @ApiModelProperty("")
    @TableField("school_id")
    private long schoolId;

    @ApiModelProperty("")
    @TableField("school_code")
    private String schoolCode;

    @ApiModelProperty("")
    @TableField("province_code")
    private String provinceCode;


    @ApiModelProperty("")
    @TableField("city_code")
    private String cityCode;


    @ApiModelProperty("处理类型")
    @TableField("type")
    private RegisterTaskType type = RegisterTaskType.none;


    @ApiModelProperty("状态")
    @TableField("status")
    private RegisterTaskStatus status = RegisterTaskStatus.none;


    @ApiModelProperty("建档数据的创建时间")
    @TableField("create_time")
    private Date createTime;


    @ApiModelProperty("提交到中心的处理时间")
    @TableField("submit_time")
    private Date submitTime;


    @ApiModelProperty("提交122的时间")
    @TableField("submitted_time")
    private Date submittedTime;


    @ApiModelProperty("获取结果时间")
    @TableField("back_time")
    private Date backTime;


}
